<h1>Listado de Patrimonios Culturales Muebles</h1>
<div class="shadow">
<%if @cultural_heritage_cultural_heritages.size>0 %>
<fieldset id="agrupacion">
  <legend>Búsqueda</legend>  
<% form_tag url_for(:action=>"gmaps_search"),{:id =>"cultural_heritage_form_search_map"} do -%>
  <p class="two-col"><label></label><%= text_field_tag "search_name" %></p>
  <input class="button" name="Buscar" value="Buscar" id="cultures_search" type="submit" />
<% end %>
</fieldset>
<br></br>
<div id="cultural_heritage_map">
<%= render :partial=>"gmap" %>
</div>
<div id="lineaform"></div>
<% else %>
    <p>Ningún Patrimonio Mueble Encontrado</p>
<% end %>  
<br />
<% if (user_signed_in? && ([1,2,4].include?(current_user.role))) %>
<p><%= link_to 'Nuevo Patrimonio Cultural Mueble', new_cultural_heritage_cultural_heritage_path %></p>
<%end%>
<fieldset class="column-right4">
  <%= link_to 'Busqueda de Patrimonio Cultural Mueble',   cultural_heritage_cultural_heritages_path %>
</fieldset>
<br/><br/><br/>
</div>